package com.example.vv.model.songInfo;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.vv.R;
import com.example.vv.frameWork.mvp.MvpActivity;
import com.example.vv.frameWork.view.CustomeTitleBar;
import com.example.vv.model.songInfo.base.contract.SongInfoContract;
import com.example.vv.model.songInfo.base.presenter.SongInfoPresenter;

import butterknife.BindView;
import butterknife.ButterKnife;

public class SongInfoAct extends MvpActivity<SongInfoContract.View, SongInfoPresenter> implements SongInfoContract.View {
    @BindView(R.id.song_title)
    CustomeTitleBar songTitle;
    @BindView(R.id.song_image)
    ImageView songImage;


    @Override
    public Context getMContext() {
        return this;
    }

    @Override
    public int initLayout() {
        return R.layout.act_song_detail;
    }

    @Override
    public SongInfoPresenter initPresenter() {
        return new SongInfoPresenter();
    }

    @Override
    public void initView() {
        songTitle.getLayout().setBackgroundColor(0);
        Glide.with(this).load(R.mipmap.ic_music_die).circleCrop().into(songImage);
    }

    @Override
    public void initData() {

    }

    @Override
    public void doBusiness() {

    }

    @Override
    public View titleVIew() {
        return songTitle;
    }



}
